首页> 外文OA文献 >Exploiting design patterns to\ud automate validation of class\ud invariants
【2h】

Exploiting design patterns to\ud automate validation of class\ud invariants

机译:利用设计模式 自动验证类\ ud 不变量

代理获取
本网站仅为用户提供外文OA文献查询和代理获取服务,本网站没有原文。下单后我们将采用程序或人工为您竭诚获取高质量的原文,但由于OA文献来源多样且变更频繁,仍可能出现获取不到、文献不完整或与标题不符等情况,如果获取不到我们将提供退款服务。请知悉。

摘要

In this paper, techniques are presented that exploit two design patterns, the Visitor\udpattern and the Decorator pattern, to automatically validate invariants about the data\udattributes in a C++ class. To investigate the pragmatics involved in using the two\udpatterns, a study of an existing, well-tested application, keystone, a parser and frontend\udfor the C++ language, is presented. Results from the study indicate that these two\udpatterns provide flexibility in terms of the frequency and level of granularity of validation\udof the class invariants, which are expressed in the Object Constraint Language, OCL. The\udquantitative results measure the impact of these approaches and the additional faults\uduncovered through validation of the case study.
机译:在本文中,将介绍利用两种设计模式(Visitor \ udpattern和Decorator模式)的技术,以自动验证C ++类中有关数据\ udattributes的不变式。为了研究使用这两种\ udpattern所涉及的语用学,提出了对一个经过良好测试的现有应用程序,梯形失真校正,解析器和C ++语言的frontud \ ud的研究。研究结果表明,这两种\ udpattern在类不变式的验证\ ud的频率和粒度级别上提供了灵活性,它们以对象约束语言OCL表示。 \“量化”结果衡量了这些方法的影响以及通过案例研究验证而发现的其他错误。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
代理获取

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号